﻿@model smartcrm.User

@{
    ViewBag.Title = "登录";
}
<script src="../../Scripts/login.js"></script>
 
<br />
<center>
<div id="loginForm" >
@using (Html.BeginForm(new { ReturnUrl = ViewBag.ReturnUrl })) {   

    <table>
        <tr>
            <td class="label">用户名</td>
            <td style="width:300px">
            @Html.TextBox("UserId") <span class="redStar"></span></td>
        </tr>
        <tr>
            <td class="label">密&nbsp;&nbsp;&nbsp;&nbsp;码</td>
            <td>@Html.Password("Password","1")<span class="redStar"></span></td>
        </tr>
        <tr>    
        <td></td>
        <td>
            <input type="button" id="btnLogin" value="登录" />&nbsp;&nbsp;
            <span id="errorMessage" class="errorSpan"></span>            
           
            </td>             
        </tr>
    </table>
    <div style="float:right"><a href='/Portal/Login'>客户自助服务入口--></a></div>
   
}
</div>
</center>
 


@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}
